<!-- eslint-disable vue/multi-word-component-names -->
<template>
  <div>
    <router-view></router-view>
    <van-tabbar v-model="active" active-color="#56b97f" fixed route>
      <van-tabbar-item icon="wap-home-o" to="/homepage">首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="/search">找房</van-tabbar-item>
      <van-tabbar-item icon="comment-o" to="/info">资讯</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/my">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data () {
    return {
      active: 0
    }
  }
}
</script>

<style>

</style>
